package com.winit.feature.model;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Table(name = "matrix_feature_history")
@Entity
@IdClass(FeatureHistoryId.class)
public class FeatureHistory implements Serializable {
    @Id
    @Column(name = "feature_id")
    private String featureId;
    @Id
    @Column(name = "version")
    private String version;
    @Column(name = "feature_name")
    private String featureName;
    @Column(name = "attr_config_id")
    private String attrConfigId;
    @Column(name = "req_id")
    private String reqId;
    @Column(name = "req_name")
    private String reqName;
    @Column(name = "create_time")
    private Date createTime;

    public String getFeatureId() {
        return featureId;
    }

    public void setFeatureId(String featureId) {
        this.featureId = featureId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getFeatureName() {
        return featureName;
    }

    public void setFeatureName(String featureName) {
        this.featureName = featureName;
    }

    public String getAttrConfigId() {
        return attrConfigId;
    }

    public void setAttrConfigId(String attrConfigId) {
        this.attrConfigId = attrConfigId;
    }

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }

    public String getReqName() {
        return reqName;
    }

    public void setReqName(String reqName) {
        this.reqName = reqName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
